package cst.a931xmc.yuejian20.Service;


import cst.a931xmc.yuejian20.Bean.RegisterBean;
import cst.a931xmc.yuejian20.Bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {
    @GET("api/User/getUserDetail")
    Call<UserBean> getUserDetail(@Query("id") int user_id);
    @GET("api/User/updateUserInfo")
    Call<RegisterBean> updateUserInfo(@Query("id") int user_id,
                                      @Query("name") String user_name,
                                      @Query("pwd") String user_password,
                                      @Query("tel") String user_tel,
                                      @Query("sex") String user_sex,
                                      @Query("pro") String user_province,
                                      @Query("city") String user_city,
                                      @Query("intro") String user_intro
                                      );
}
